set Map
open override fun setMap(map: MPIMap, completionCallback: (String?) -> Unit?)
Content copied to clipboard
Sets the MPIMap of the MPIMapView
Return
Parameters
map
The MPIMap to set the MPIMapView to
completion Callback
Callback when the MPIMapView has completed setting the map, contains an error string as the first parameter if it fails, defaults to null
open override fun setMap(mapId: String, completionCallback: (String?) -> Unit?)
Content copied to clipboard
Sets the MPIMap of the MPIMapView
Return
Parameters
map Id
The id of the MPIMap to set the MPIMapView to
completion Callback
Callback for when the MPIMapView has completed setting the map, contains an error string as the first parameter it fails, defaults to null